/**
 * Created by way on 16/9/19.
 */

export default {
  app: {
    debug: 1,
    token: 'nuoya.token',
    code: 'nuoya.code',
    lastCode: 'nuoya.lastCode',
    docker: 'nuoya.docker',
    sid: 'nuoya.sid',
    tab: 'nuoya.tab',
    site: 'nuoya.site',
    nuoyaUserList: 'nuoya.userList',
    nuoyaRosterList: 'nuoya.rosterList',
    mobile: 'nuoya.mobile',
    hotCount: 20, // 热门分享一次获取数量
    imgWHR: 1.9,   // 上传图片宽高比
    imgCompress: 0.3 // 图片压缩比
  },
  dev: {
    /*
     token: 'eyJhbGciOiJIUzI1NiIsICJ0eXAiOiJKV1QifQ'
     + '.eyJwaWQiOiIwMjExMTYzMCJ9'
     + '.-VFtlNpkxn5DPu3kTR2ZsFhY6I3OHfpMikwD8EMMRvs'
     */
  },
  // 用户
  user: {
    api: {
      host: 'http://wx.nuoyadalu.com/user/api/',
      userInfo: 'relandwx', // getInfo', zxd ???
      token: 'relTokens'    // getToken', zxd ???
    },
    view: {}
  },
  rel: {},
  api: {},
  view: {},
  mutual: {},
  turn: {},
  doc: {
    host: 'http://nydl-10038118.cos.myqcloud.com/doc/',
    mutual: 'mutual/'
  },
  // 拍卖
  bid: {},
  ogs: {
    token: "/user/api/getrelTokens",//token
    userInfo: "/user/api/getrelandwxone",//用户信息

    getSite: "/user/api/GetSite",//site

    // users: "user/list",
    // ws: "ws.nuoya.io",
    createIssue: "/ogs/api/createIssue", // 创建工单
    upIssueServiceId: "/ogs/api/upIssueServiceId", //服务ID
    siteParam: "/user/api/GetSite",// site

    issueList: "/ogs/api/issueList",//工单列表
    getVirtue: "/user/api/getVirtue",//个人用户信息
    saveMsg: "/ogs/api/saveMsg",//保存信息
    msgList: "/ogs/api/msgList",//信息列表
    closeIssue: "/ogs/api/closeIssue",//关闭
    getOpenId: "/user/api/Getopenid",//openid
    review: "/ogs/api/review",//评价
    userList: "/user/api/getUserList", //用户列表

    pushmsg: "/pushmsg/api/pushmsg", // 推送
    msgOnline: "/pushmsg/api/msgOnline", // 推送
    singlePush: "/pushmsg/api/singlePush", // 个推

    upIssueProcess: "/ogs/api/upIssueProcess", // 更新转发给谁
    getCurrentUser: "/user/api/getCurrentUser", // 更新转发给谁
    rosterList: "/user/api/getRosterList", // 花名册列表
    roster: "/user/api/getRoster", // 花名册

    login: "/user/api/login", // login
    siginin: "/user/api/siginin", // siginin

    pushLink: "https://imapi.icbc.com.cn/open/oauth2?scope=base&appid=Xu1D5gWQHxALNWWKUqXa2Q%3D%3D&redirect=http%3A%2F%2Frel.nuoyadalu.com%2Fogs%2Findex.html?sid=1%26tab=1%26"
  }
};
